<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 21:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>动画信息添加页面</title>
    <link rel="stylesheet" type="text/css" href="/static/jquery-easyui-1.3.3/themes/default/easyui.css"></link>
    <link rel="stylesheet" type="text/css" href="/static/jquery-easyui-1.3.3/themes/icon.css"></link>
</head>
<body style="margin: 10px">
<div id="p" class="easyui-panel" title="添加动画" style="padding: 10px">
    <form id="fm" method="post" enctype="multipart/form-data">
        <table cellspacing="20px">
            <input type="text" id="code" name="code" hidden   value="C" />
            <tr>
                <td width="80px">动画名称：</td>
                <td><input type="text" id="name" name="name" style="width: 400px;" class="easyui-validatebox" required="true"/></td>
            </tr>
            <tr>
                <td width="80px">概括：</td>
                <td><input type="text" id="summary" name="summary" style="width: 400px;" class="easyui-validatebox" required="true"/></td>
            </tr>
            <tr>
                <td width="80px">分类：</td>
                <td> <select name="type" id="type" style="width: 400px;" class="input-sm form-control"></select></td>
            </tr>
            <tr>
                <td width="80px">评分：</td>
                <td><input type="text" id="score" name="score" style="width: 400px;" class="easyui-validatebox" required="true"/></td>
            </tr>
            <tr>
                <td width="80px">动画图片：</td>
                <td><input type="file" id="imageFile" name="imageFile" /></td>
            </tr>
            <tr>
                <td width="80px">设置热门：</td>
                <td><input type="radio" id="yes" value="1" name="hotFlag" />是&nbsp;<input type="radio" id="no" value="0" checked="checked" name="hotFlag" />否</td>
            </tr>
            <tr>
                <td valign="top">内容：</td>
                <td>
                    <textarea name="detail" id="detail" rows="30" cols="80"></textarea>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <a href="javascript:submitData('/bssp/comic/save')" class="easyui-linkbutton" data-options="iconCls:'icon-submit'">发布</a>
                </td>
            </tr>
        </table>
    </form>
</div>

<script type="text/javascript" src="/static/jquery-easyui-1.3.3/jquery.min.js"></script>
<script type="text/javascript" src="/static/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/static/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>

<script type="text/javascript" src="/static/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/static/js/addFilm.js"></script>
<script src="/static/layer/layer.js"></script>
<script src="/static/js/common.js"></script>
<script>
    // Replace the <textarea id="editor1"> with a CKEditor
    // instance, using default configuration.
    CKEDITOR.replace( 'detail' );
</script>
</body>
</body>
</html>
